//long poll
/*
var d = new Date();
var n = d.getMilliseconds();	
*/

/*
var url = 'https://www.sipmeeting.com/cryptochat/msgsrv.php?timestamp=_'+n;
//Create the HTTP Client
var client = Ti.Network.createHTTPClient({
    onload: function(e) {
        //request complete do something with data
        //assuming that we are not working with XML
        Ti.API.INFO('Response received '+this.responseText);
    },
    onerror: function(e) {
        //error received, do something
    }
});

client.open('GET',url,true);
//Send request
client.send();	
*/